<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: qx::QxSession Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classqx_1_1_qx_session.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">qx::QxSession Class Reference<div class="ingroups"><a class="el" href="group___qx_dao.html">QxDao : QxOrm library database communication used by persistence engine (ORM - Object Relational Mapping)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="qx::QxSession" -->
<p><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a> : define a session to manage automatically database transactions (using C++ RAII)  
 <a href="classqx_1_1_qx_session.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qx_session_8h_source.html">QxSession.h</a>&gt;</code></p>

<p><a href="classqx_1_1_qx_session-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ac569c991160819d49e6defd73c8fac91">QxSession</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#aa35f9ff9a7e1bb4b6e58f12d3e169d2b">QxSession</a> (const QSqlDatabase &amp;database)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a78df55ce52de8fd9cd2ea80f9b726aa9">QxSession</a> (const QSqlDatabase &amp;database, bool bOpenTransaction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a7d769f3052d9f6f064c9478539cfeb73">QxSession</a> (const QSqlDatabase &amp;database, bool bOpenTransaction, bool bThrowable)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ad4a6c22e503e3bfef3ac9e9b49e538ac">~QxSession</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ab44a19aea2d61d81104d532554e19353">isThrowable</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a318289d8cdd7530e7226b2d6a844b8a5">isOpened</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a84739b37cb853161d00089c2d8fbe307">isValid</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a7ac72311c8828728c75e5b1699459e5e">firstError</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a8b352ac34799cd70810d7454ef0fe52a">lastError</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; QSqlError &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ac4f22cfb4f3e2db77dcaf571423fde2f">allErrors</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QSqlDatabase *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a1223fb0090a506b1e97cbba4cb5d00bb">database</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlDatabase *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#aa1d23e00d7f746c4b8d9e463aedcd4be">database</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a7812e5398e02e5e358412828789b7d86">open</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a25bb7cd6b29131c2f9aff47bd888fba1">close</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a5cd54ed7b715e58ede9796bdf8333968">commit</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#aee9e591b5d67cb2ec0c7d33acbd28808">rollback</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a9370a1e58409fa078e824d3944a4139c">operator+=</a> (const QSqlError &amp;err)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">long&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ab3574e71efb4a67aa844b24cb543334b">count</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a47ba970a328f4bc8dd3759b9b9f98d74">count</a> (long &amp;lCount, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a9f3f83992d04b9181864f118e72d556f">fetchById</a> (const QVariant &amp;id, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a792603f202cb1a1a78884f376d95f1fa">fetchById</a> (T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a70fee91e15d96b8b2caafd70c42abb61">fetchAll</a> (T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a74733d378523198c2e4502c218bab2bf">fetchByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a23610cca5183f5b051576d0f60acbaf6">insert</a> (T &amp;t, const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ae4f3f7212d7a212b86d126809675d906">update</a> (T &amp;t, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a2151e5aa2e7145e08707bb4e4b63080b">save</a> (T &amp;t, const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a7785f6d20ddd8efaf76053389fbfebd4">deleteById</a> (const QVariant &amp;id)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#af7d83381bfa604e0a1d4af1b55c6fa05">deleteById</a> (T &amp;t)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a366d8214853e5b6f4f42d8457c99ff47">deleteAll</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ab8d16d52cce583bb5077ab15f00a27f0">deleteByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ac65fd27b08e9dc9236166e9e9f3df11b">destroyById</a> (const QVariant &amp;id)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a98133dc3bace785cd9cd5e4c0353224a">destroyById</a> (T &amp;t)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a0549f7745c3127c283df86cb9d8ef1cf">destroyAll</a> ()</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ab4f0536ea114d2d0ba12fa49d140f1c6">destroyByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ab3dea23d9da131fffd96f0f07c4404e0">executeQuery</a> (<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, T &amp;t)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#abcfa194ac080018cf8704b787bddee56">callQuery</a> (<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a2c105c9599f218b534b96cb3eb37f72c">exist</a> (T &amp;t)</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a2c53f28a7671dd06d89c5ad75270a5e5">appendSqlError</a> (const QSqlError &amp;err)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a4301f829a453be66e8d92ffdfd922a37">clear</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlDatabase&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a52df7bbc721642e7c7ee65dba441084d">m_database</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Database connexion of current session.  <a href="#a52df7bbc721642e7c7ee65dba441084d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QList&lt; QSqlError &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a2a2075b52791c6d40ed6b716320ea9f3">m_lstSqlError</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">List of SQL errors.  <a href="#a2a2075b52791c6d40ed6b716320ea9f3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#ac21f79c644ca0c901584a165c6207ae6">m_bTransaction</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag to know if a transaction is opened or not.  <a href="#ac21f79c644ca0c901584a165c6207ae6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a2edb00fa08531d45bdb349c7dd299129">m_bThrowable</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">When a SQL error is appended, an exception of type <a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a> is thrown.  <a href="#a2edb00fa08531d45bdb349c7dd299129"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a683631cd13ed1e7c792abe63a0957e3a">m_bThrowInEvent</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An exception of type <a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a> is throwing.  <a href="#a683631cd13ed1e7c792abe63a0957e3a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_session.html#a13166032e0c37cec3a0cb8f92d43c2b7">m_bAutoOpenClose</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Open and close automatically connection to database.  <a href="#a13166032e0c37cec3a0cb8f92d43c2b7"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a> : define a session to manage automatically database transactions (using C++ RAII) </p>
<p>A database <b>transaction</b> is a sequence of operations performed as a single logical unit of work. If no errors occurred during the execution of the transaction then the system <b>commits</b> the transaction. If an error occurs during the transaction, or if the user specifies a <b>rollback</b> operation, the data manipulations within the transaction are not persisted to the database.</p>
<p>The <em><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a></em> class of QxOrm library is designed to manage automatically database transactions (using <em>C++ RAII</em>) : </p>
<div class="fragment"><pre class="fragment">{ <span class="comment">// Start a scope where a new session is instantiated</span>

  <span class="comment">// Create a session : a valid database connexion by thread is automatically assigned to the session and a transaction is opened</span>
  <a class="code" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a> session;

  <span class="comment">// Execute some operations with database (using += operator of qx::QxSession class and session database connexion)</span>
  session += <a class="code" href="classqx_1_1_qx_session.html#a23610cca5183f5b051576d0f60acbaf6">qx::dao::insert</a>(my_object, session.<a class="code" href="classqx_1_1_qx_session.html#a1223fb0090a506b1e97cbba4cb5d00bb">database</a>());
  session += <a class="code" href="classqx_1_1_qx_session.html#ae4f3f7212d7a212b86d126809675d906">qx::dao::update</a>(my_object, session.database());
  session += <a class="code" href="group___qx_dao.html#ga2abaf5f2e6de160b099cf2ab74967244" title="Fetch an object t (retrieve all its properties) of type T (registered into QxOrm context) mapped to a...">qx::dao::fetch_by_id</a>(my_object, session.database());
  session += <a class="code" href="group___qx_dao.html#ga298e15a5e745ae43d99de9b4279aca3e" title="Delete a line (or list of lines) of a table (database) mapped to a C++ object of type T (registered i...">qx::dao::delete_by_id</a>(my_object, session.database());

  <span class="comment">// If the session is not valid (so an error occured) =&gt; display first error</span>
  <span class="keywordflow">if</span> (! session.isValid()) { qDebug(<span class="stringliteral">&quot;[QxOrm] session error : &#39;%s&#39;&quot;</span>, qPrintable(session.firstError().text())); }

} <span class="comment">// End of scope : session is destroyed (transaction =&gt; automatically commit or rollback if there is an error)</span>
</pre></div><p><em>Note :</em> a session can throw a <em><a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a></em> exception when a SQL error occured (by default, there is no exception). You can setup this feature using :</p>
<ul>
<li><em><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a></em> constructor (for a specific session) ;</li>
<li><em><a class="el" href="classqx_1_1_qx_singleton.html#ac42d9f2442411f1ea7ea0505d224a89c">qx::QxSqlDatabase::getSingleton()</a>-&gt;setSessionThrowable(bool b)</em> parameter (for all sessions).</li>
</ul>
<p><em>Other note :</em> don't forget to pass the session database connexion to each <em>qx::dao::xxx</em> functions (using <em>session.database()</em> method). Moreover, you can manage your own database connexion (from a connexion pool for example) using constructor of <em><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a></em> class.</p>
<p><em><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a></em> class provides also persistent methods (CRUD) to make easier to write C++ code. Here is the same example using methods of <em><a class="el" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a></em> class instead of functions into namespace <em><a class="el" href="namespaceqx_1_1dao.html" title="Database communication used by persistence engine (ORM - Object Relational Mapping)">qx::dao</a></em> : </p>
<div class="fragment"><pre class="fragment">{ <span class="comment">// Start a scope where a new session is instantiated</span>

  <span class="comment">// Create a session : a valid database connexion by thread is automatically assigned to the session and a transaction is opened</span>
  <a class="code" href="classqx_1_1_qx_session.html" title="qx::QxSession : define a session to manage automatically database transactions (using C++ RAII)...">qx::QxSession</a> session;

  <span class="comment">// Execute some operations with database</span>
  session.<a class="code" href="classqx_1_1_qx_session.html#a23610cca5183f5b051576d0f60acbaf6">insert</a>(my_object);
  session.<a class="code" href="classqx_1_1_qx_session.html#ae4f3f7212d7a212b86d126809675d906">update</a>(my_object);
  session.<a class="code" href="classqx_1_1_qx_session.html#a9f3f83992d04b9181864f118e72d556f">fetchById</a>(my_object);
  session.<a class="code" href="classqx_1_1_qx_session.html#a7785f6d20ddd8efaf76053389fbfebd4">deleteById</a>(my_object);

  <span class="comment">// If the session is not valid (so an error occured) =&gt; display first error</span>
  <span class="keywordflow">if</span> (! session.<a class="code" href="classqx_1_1_qx_session.html#a84739b37cb853161d00089c2d8fbe307">isValid</a>()) { qDebug(<span class="stringliteral">&quot;[QxOrm] session error : &#39;%s&#39;&quot;</span>, qPrintable(session.<a class="code" href="classqx_1_1_qx_session.html#a7ac72311c8828728c75e5b1699459e5e">firstError</a>().text())); }

} <span class="comment">// End of scope : session is destroyed (transaction =&gt; automatically commit or rollback if there is an error)</span>
</pre></div> 
<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00121">121</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac569c991160819d49e6defd73c8fac91"></a><!-- doxytag: member="qx::QxSession::QxSession" ref="ac569c991160819d49e6defd73c8fac91" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::QxSession::QxSession </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa35f9ff9a7e1bb4b6e58f12d3e169d2b"></a><!-- doxytag: member="qx::QxSession::QxSession" ref="aa35f9ff9a7e1bb4b6e58f12d3e169d2b" args="(const QSqlDatabase &amp;database)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::QxSession::QxSession </td>
          <td>(</td>
          <td class="paramtype">const QSqlDatabase &amp;&#160;</td>
          <td class="paramname"><em>database</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a78df55ce52de8fd9cd2ea80f9b726aa9"></a><!-- doxytag: member="qx::QxSession::QxSession" ref="a78df55ce52de8fd9cd2ea80f9b726aa9" args="(const QSqlDatabase &amp;database, bool bOpenTransaction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::QxSession::QxSession </td>
          <td>(</td>
          <td class="paramtype">const QSqlDatabase &amp;&#160;</td>
          <td class="paramname"><em>database</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bOpenTransaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7d769f3052d9f6f064c9478539cfeb73"></a><!-- doxytag: member="qx::QxSession::QxSession" ref="a7d769f3052d9f6f064c9478539cfeb73" args="(const QSqlDatabase &amp;database, bool bOpenTransaction, bool bThrowable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::QxSession::QxSession </td>
          <td>(</td>
          <td class="paramtype">const QSqlDatabase &amp;&#160;</td>
          <td class="paramname"><em>database</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bOpenTransaction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bThrowable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad4a6c22e503e3bfef3ac9e9b49e538ac"></a><!-- doxytag: member="qx::QxSession::~QxSession" ref="ad4a6c22e503e3bfef3ac9e9b49e538ac" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual qx::QxSession::~QxSession </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00139">139</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac4f22cfb4f3e2db77dcaf571423fde2f"></a><!-- doxytag: member="qx::QxSession::allErrors" ref="ac4f22cfb4f3e2db77dcaf571423fde2f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt;QSqlError&gt; qx::QxSession::allErrors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00146">146</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2c53f28a7671dd06d89c5ad75270a5e5"></a><!-- doxytag: member="qx::QxSession::appendSqlError" ref="a2c53f28a7671dd06d89c5ad75270a5e5" args="(const QSqlError &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::QxSession::appendSqlError </td>
          <td>(</td>
          <td class="paramtype">const QSqlError &amp;&#160;</td>
          <td class="paramname"><em>err</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abcfa194ac080018cf8704b787bddee56"></a><!-- doxytag: member="qx::QxSession::callQuery" ref="abcfa194ac080018cf8704b787bddee56" args="(qx::QxSqlQuery &amp;query)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::callQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00328">328</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4301f829a453be66e8d92ffdfd922a37"></a><!-- doxytag: member="qx::QxSession::clear" ref="a4301f829a453be66e8d92ffdfd922a37" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void qx::QxSession::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a25bb7cd6b29131c2f9aff47bd888fba1"></a><!-- doxytag: member="qx::QxSession::close" ref="a25bb7cd6b29131c2f9aff47bd888fba1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5cd54ed7b715e58ede9796bdf8333968"></a><!-- doxytag: member="qx::QxSession::commit" ref="a5cd54ed7b715e58ede9796bdf8333968" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::commit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab3574e71efb4a67aa844b24cb543334b"></a><!-- doxytag: member="qx::QxSession::count" ref="ab3574e71efb4a67aa844b24cb543334b" args="(const qx::QxSqlQuery &amp;query=qx::QxSqlQuery())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">long qx::QxSession::count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00165">165</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a47ba970a328f4bc8dd3759b9b9f98d74"></a><!-- doxytag: member="qx::QxSession::count" ref="a47ba970a328f4bc8dd3759b9b9f98d74" args="(long &amp;lCount, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::count </td>
          <td>(</td>
          <td class="paramtype">long &amp;&#160;</td>
          <td class="paramname"><em>lCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00169">169</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1223fb0090a506b1e97cbba4cb5d00bb"></a><!-- doxytag: member="qx::QxSession::database" ref="a1223fb0090a506b1e97cbba4cb5d00bb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QSqlDatabase* qx::QxSession::database </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00147">147</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa1d23e00d7f746c4b8d9e463aedcd4be"></a><!-- doxytag: member="qx::QxSession::database" ref="aa1d23e00d7f746c4b8d9e463aedcd4be" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlDatabase* qx::QxSession::database </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00148">148</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a366d8214853e5b6f4f42d8457c99ff47"></a><!-- doxytag: member="qx::QxSession::deleteAll" ref="a366d8214853e5b6f4f42d8457c99ff47" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::deleteAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00268">268</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7785f6d20ddd8efaf76053389fbfebd4"></a><!-- doxytag: member="qx::QxSession::deleteById" ref="a7785f6d20ddd8efaf76053389fbfebd4" args="(const QVariant &amp;id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::deleteById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00247">247</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="af7d83381bfa604e0a1d4af1b55c6fa05"></a><!-- doxytag: member="qx::QxSession::deleteById" ref="af7d83381bfa604e0a1d4af1b55c6fa05" args="(T &amp;t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::deleteById </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00260">260</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab8d16d52cce583bb5077ab15f00a27f0"></a><!-- doxytag: member="qx::QxSession::deleteByQuery" ref="ab8d16d52cce583bb5077ab15f00a27f0" args="(const qx::QxSqlQuery &amp;query)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::deleteByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00276">276</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0549f7745c3127c283df86cb9d8ef1cf"></a><!-- doxytag: member="qx::QxSession::destroyAll" ref="a0549f7745c3127c283df86cb9d8ef1cf" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::destroyAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00305">305</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac65fd27b08e9dc9236166e9e9f3df11b"></a><!-- doxytag: member="qx::QxSession::destroyById" ref="ac65fd27b08e9dc9236166e9e9f3df11b" args="(const QVariant &amp;id)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::destroyById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00284">284</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a98133dc3bace785cd9cd5e4c0353224a"></a><!-- doxytag: member="qx::QxSession::destroyById" ref="a98133dc3bace785cd9cd5e4c0353224a" args="(T &amp;t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::destroyById </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00297">297</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab4f0536ea114d2d0ba12fa49d140f1c6"></a><!-- doxytag: member="qx::QxSession::destroyByQuery" ref="ab4f0536ea114d2d0ba12fa49d140f1c6" args="(const qx::QxSqlQuery &amp;query)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::destroyByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00313">313</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab3dea23d9da131fffd96f0f07c4404e0"></a><!-- doxytag: member="qx::QxSession::executeQuery" ref="ab3dea23d9da131fffd96f0f07c4404e0" args="(qx::QxSqlQuery &amp;query, T &amp;t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::executeQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00321">321</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2c105c9599f218b534b96cb3eb37f72c"></a><!-- doxytag: member="qx::QxSession::exist" ref="a2c105c9599f218b534b96cb3eb37f72c" args="(T &amp;t)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a> qx::QxSession::exist </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00336">336</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a70fee91e15d96b8b2caafd70c42abb61"></a><!-- doxytag: member="qx::QxSession::fetchAll" ref="a70fee91e15d96b8b2caafd70c42abb61" args="(T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::fetchAll </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00197">197</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9f3f83992d04b9181864f118e72d556f"></a><!-- doxytag: member="qx::QxSession::fetchById" ref="a9f3f83992d04b9181864f118e72d556f" args="(const QVariant &amp;id, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T* qx::QxSession::fetchById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00173">173</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a792603f202cb1a1a78884f376d95f1fa"></a><!-- doxytag: member="qx::QxSession::fetchById" ref="a792603f202cb1a1a78884f376d95f1fa" args="(T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::fetchById </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00187">187</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a74733d378523198c2e4502c218bab2bf"></a><!-- doxytag: member="qx::QxSession::fetchByQuery" ref="a74733d378523198c2e4502c218bab2bf" args="(const qx::QxSqlQuery &amp;query, T &amp;t, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::fetchByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00207">207</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ac72311c8828728c75e5b1699459e5e"></a><!-- doxytag: member="qx::QxSession::firstError" ref="a7ac72311c8828728c75e5b1699459e5e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::firstError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00144">144</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a23610cca5183f5b051576d0f60acbaf6"></a><!-- doxytag: member="qx::QxSession::insert" ref="a23610cca5183f5b051576d0f60acbaf6" args="(T &amp;t, const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::insert </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00217">217</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a318289d8cdd7530e7226b2d6a844b8a5"></a><!-- doxytag: member="qx::QxSession::isOpened" ref="a318289d8cdd7530e7226b2d6a844b8a5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::isOpened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00142">142</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab44a19aea2d61d81104d532554e19353"></a><!-- doxytag: member="qx::QxSession::isThrowable" ref="ab44a19aea2d61d81104d532554e19353" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::isThrowable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00141">141</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a84739b37cb853161d00089c2d8fbe307"></a><!-- doxytag: member="qx::QxSession::isValid" ref="a84739b37cb853161d00089c2d8fbe307" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00143">143</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8b352ac34799cd70810d7454ef0fe52a"></a><!-- doxytag: member="qx::QxSession::lastError" ref="a8b352ac34799cd70810d7454ef0fe52a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::lastError </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00145">145</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7812e5398e02e5e358412828789b7d86"></a><!-- doxytag: member="qx::QxSession::open" ref="a7812e5398e02e5e358412828789b7d86" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::open </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9370a1e58409fa078e824d3944a4139c"></a><!-- doxytag: member="qx::QxSession::operator+=" ref="a9370a1e58409fa078e824d3944a4139c" args="(const QSqlError &amp;err)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a>&amp; qx::QxSession::operator+= </td>
          <td>(</td>
          <td class="paramtype">const QSqlError &amp;&#160;</td>
          <td class="paramname"><em>err</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aee9e591b5d67cb2ec0c7d33acbd28808"></a><!-- doxytag: member="qx::QxSession::rollback" ref="aee9e591b5d67cb2ec0c7d33acbd28808" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool qx::QxSession::rollback </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2151e5aa2e7145e08707bb4e4b63080b"></a><!-- doxytag: member="qx::QxSession::save" ref="a2151e5aa2e7145e08707bb4e4b63080b" args="(T &amp;t, const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::save </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00237">237</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae4f3f7212d7a212b86d126809675d906"></a><!-- doxytag: member="qx::QxSession::update" ref="ae4f3f7212d7a212b86d126809675d906" args="(T &amp;t, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">QSqlError qx::QxSession::update </td>
          <td>(</td>
          <td class="paramtype">T &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00227">227</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a13166032e0c37cec3a0cb8f92d43c2b7"></a><!-- doxytag: member="qx::QxSession::m_bAutoOpenClose" ref="a13166032e0c37cec3a0cb8f92d43c2b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_session.html#a13166032e0c37cec3a0cb8f92d43c2b7">qx::QxSession::m_bAutoOpenClose</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Open and close automatically connection to database. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00131">131</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2edb00fa08531d45bdb349c7dd299129"></a><!-- doxytag: member="qx::QxSession::m_bThrowable" ref="a2edb00fa08531d45bdb349c7dd299129" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_session.html#a2edb00fa08531d45bdb349c7dd299129">qx::QxSession::m_bThrowable</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>When a SQL error is appended, an exception of type <a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a> is thrown. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00129">129</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a683631cd13ed1e7c792abe63a0957e3a"></a><!-- doxytag: member="qx::QxSession::m_bThrowInEvent" ref="a683631cd13ed1e7c792abe63a0957e3a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_session.html#a683631cd13ed1e7c792abe63a0957e3a">qx::QxSession::m_bThrowInEvent</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>An exception of type <a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a> is throwing. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00130">130</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac21f79c644ca0c901584a165c6207ae6"></a><!-- doxytag: member="qx::QxSession::m_bTransaction" ref="ac21f79c644ca0c901584a165c6207ae6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_qx_session.html#ac21f79c644ca0c901584a165c6207ae6">qx::QxSession::m_bTransaction</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Flag to know if a transaction is opened or not. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00128">128</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a52df7bbc721642e7c7ee65dba441084d"></a><!-- doxytag: member="qx::QxSession::m_database" ref="a52df7bbc721642e7c7ee65dba441084d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlDatabase <a class="el" href="classqx_1_1_qx_session.html#a52df7bbc721642e7c7ee65dba441084d">qx::QxSession::m_database</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Database connexion of current session. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00126">126</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2a2075b52791c6d40ed6b716320ea9f3"></a><!-- doxytag: member="qx::QxSession::m_lstSqlError" ref="a2a2075b52791c6d40ed6b716320ea9f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt;QSqlError&gt; <a class="el" href="classqx_1_1_qx_session.html#a2a2075b52791c6d40ed6b716320ea9f3">qx::QxSession::m_lstSqlError</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>List of SQL errors. </p>

<p>Definition at line <a class="el" href="_qx_session_8h_source.html#l00127">127</a> of file <a class="el" href="_qx_session_8h_source.html">QxSession.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dvlp/_Perso/QxOrm/include/QxDao/<a class="el" href="_qx_session_8h_source.html">QxSession.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceqx.html">qx</a>      </li>
      <li class="navelem"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:13 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
